ImageGear .NET v25.2 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearMetadataNodeList Class / LookUp Method / LookUp(String[]) Method
Path to a data element in the metadata structure.
Example




In This Topic
    LookUp(String[]) Method
    In This Topic
    This method searches the node list recursively for a node, according to the path parameter. Length of the path should correspond to the metadata structure depth, at which the desired node is located.

    If a node is not present, the method returns null.

    The method does not search in the subtrees of the node list.

    Syntax
    'Declaration
     
    Public Overloads Function LookUp( _
       ByVal path() As String _
    ) As ImGearMetadataNode
    'Usage
     
    Dim instance As ImGearMetadataNodeList
    Dim path() As String
    Dim value As ImGearMetadataNode
     
    value = instance.LookUp(path)
    public ImGearMetadataNode LookUp( 
       string[] path
    )
    public: ImGearMetadataNode* LookUp( 
       string*[]* path
    ) 
    public:
    ImGearMetadataNode^ LookUp( 
       array<String^>^ path
    ) 

    Parameters

    path
    Path to a data element in the metadata structure.

    Return Value

    Instanse of ImGearMetadataNode class object.
    Example
    ImGearMetadataNode Node = rootNode.Children.LookUp(ImGearDICOMTagsIDs.DataSet);
    'Use CType in VB.Net to help the compiler choose the correct overload. 
    Dim Node As ImGearMetadataNode = rootNode.Children.LookUp(CType(ImGearDICOMTagsIDs.DataSet, System.Enum))
    See Also